package cn.tradewin.advisor.persist.mapper;

import java.util.List;

import cn.tradewin.advisor.persist.model.Account;
import cn.tradewin.advisor.persist.model.CodeLabel;

public interface AccountMapper {
	
	List<Account> selectAllAccounts();
	
	List<CodeLabel> getAccountsOptions();
	
	List<Account> selectAccountsNotInProject(Integer projectId);
	
	List<Account> selectAccountsInProject(Integer projectId);
    
    int deleteByPrimaryKey(String id);
    
    int insert(Account record);
    
    Account selectByPrimaryKey(String id);
    
    int updateByPrimaryKey(Account record);
}